home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
P
/
Palet.cpt
/
Palette XFCN
/
stack.txt
< prev
Wrap
Text File
|
1988-09-20
|
9KB
|
247 lines
-- stack: in
-- format: 8 (HyperCard 1)
-- flags: 0x1000 (none)
-- protect password hash: 0
-- maximum user level: 5 (scripting)
-- window: Rect(x1=0, y1=0, x2=0, y2=0)
-- screen: Rect(x1=0, y1=0, x2=0, y2=0)
-- card dimensions: w=0 h=0
-- scroll: x=0 y=0
-- background count: 2
-- first background id: 2669
-- card count: 7
-- first card id: 4434
-- list block id: 6873
-- print block id: 0
-- font table block id: 0
-- style table block id: 0
-- free block count: 0
-- free size: 0 bytes
-- total size: 60928 bytes
-- stack block size: 5632 bytes
-- created by hypercard version: 0x01208000
-- compacted by hypercard version: 0x01208000
-- modified by hypercard version: 0x01208000
-- opened by hypercard version: 0x01208000
-- patterns[0]: 0x0000000000000000
-- patterns[1]: 0x8000000008000000
-- patterns[2]: 0x8800220088002200
-- patterns[3]: 0x8888222288882222
-- patterns[4]: 0x88AA22AA88AA22AA
-- patterns[5]: 0xCCAA33AACCAA33AA
-- patterns[6]: 0xEEAABBAAEEAABBAA
-- patterns[7]: 0xEEBBBBEEEEBBBBEE
-- patterns[8]: 0xFFBBFFEEFFBBFFEE
-- patterns[9]: 0xFFBBFFFFFFBBFFFF
-- patterns[10]: 0x8010022001084004
-- patterns[11]: 0xFFFFFFFFFFFFFFFF
-- patterns[12]: 0x8822882288228822
-- patterns[13]: 0x1122448811224488
-- patterns[14]: 0xC4800C6843023026
-- patterns[15]: 0xB130031BD8C00C8D
-- patterns[16]: 0xAA00AA00AA00AA00
-- patterns[17]: 0x8822552288225522
-- patterns[18]: 0x8855225588552255
-- patterns[19]: 0x77DD77DD77DD77DD
-- patterns[20]: 0x8000000000000000
-- patterns[21]: 0xAA55AA55AA55AA55
-- patterns[22]: 0x038448300C020101
-- patterns[23]: 0x8244394482010101
-- patterns[24]: 0x8814224188412214
-- patterns[25]: 0x8080413E080814E3
-- patterns[26]: 0x22048C7422179810
-- patterns[27]: 0xBE808808EB088880
-- patterns[28]: 0x25C8328964244C92
-- patterns[29]: 0xA29C41BE2AC914EB
-- patterns[30]: 0x40A00000040A0000
-- patterns[31]: 0x8040200002040800
-- patterns[32]: 0xAA00800088008000
-- patterns[33]: 0xFF80808080808080
-- patterns[34]: 0x081C22C180010204
-- patterns[35]: 0xFF808080FF080808
-- patterns[36]: 0xF87422478F172271
-- patterns[37]: 0xBF00BFBFB0B0B0B0
-- patterns[38]: 0xFF7FBE5DA2418000
-- patterns[39]: 0xFAF5FAF5A050A050
-- checksum: 0x0
----- HyperTalk script -----
on controlKey which
if which is 9 then
put Palette("Toggle") into temp
end if
pass controlKey
end controlKey
on doMenu which
if which is "S" then
put Palette("Show") into temp
else
if which is "A" then
go to next card in this bkgnd
else
if which is "B" then
go to prev card in this bkgnd
else
if which is "C" then
if the id of this card is "card id 3058" then
visual effect iris close
go to card id 4434
exit doMenu
end if
visual effect dissolve very slowly
go to card id 3058
show menuBar
else
if which is "D" then
repeat with i = 1 to (the number of cds in this bkgnd)
go to next card in this bkgnd
wait for 15 ticks
end repeat
else
if which is "E" then
if visible of bkgnd btn "Oscar" is false then
set lockScreen to true
go to card id 3058
show bkgnd btn "Oscar"
show bkgnd field "About"
else
set lockScreen to true
hide bkgnd btn "Oscar"
hide bkgnd field "About"
end if
else
if which is "F" then
go home
else
if which is "G" then
ask "Dial what number?" with "1-203-555-1212"
Dial it
else
if which is "H" then
go to card "Obnoxious"
else
if which is "I" then
answer "Do a complete ShutDown?" with "No way!" or "OK"
if it is "OK" then
go to card id 4434
ShutMeDown
end if
else
if which is "J" then
answer "Erase all magnetic media for a city block?" with "Cancel" or "OK"
if it is "OK" then
hide menuBar
set the location of card window to 500,500
wait for 4 seconds
answer "I know you already looked at the script." with "I'm No Fool!"
set the location of card window to 0,0
show menuBar
else
answer "Coward." with "Yo!"
end if
else
if which is "K" then
set lockScreen to true
go to card id 3058
show bkgnd field "Bucks"
else
if which is "L" then
visual effect dissolve
go to card id 3058
set lockScreen to true
go to card "States"
playInd
else
if which is "M" then
answer "Wipe out civilization as we know it?" with "Cancel" or "OK"
if it is "OK" then
Nukem
Nukem
answer "Civilization destroyed." with "OK"
end if
else
if which is "N" then
push card
go to card id 3058
show bkgnd field "Smile"
wait for 90 ticks
hide bkgnd field "Smile"
Nukem
pop card
else
if which is "O" then
visual effect iris open
set icon of bkgnd btn "Boing" to 3849
show bkgnd btn "Boing"
go to card id 3058
else
if which is "P" then
MoveCard up
else
if which is "Q" then
MoveCard down
else
if which is "R" then
go to card "Space"
else
pass doMenu
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end doMenu
on idle
global pickedOne
put Palette ("Update") into temp
if pickedOne is not empty then doMenu pickedOne
put empty into pickedOne
pass idle
end idle
on MoveCard which
put item 1 of the location of card window into myHoriz
put item 2 of the location of card window into myVert
if which is "up" then
set the location of card window to myHoriz,myVert-100
else
set the location of card window to myHoriz,myVert+100
end if
if the location of card window is not "0,0" then
answer "Whoa!" with "I'm Afraid" or "No Problem"
if it is "I'm Afraid" then set the location of card window to 0,0
end if
end MoveCard
on playInd
play "Harpsichord" tempo "220" "d4s ee. bs d5h de. es de. b4s"
play "Harpsichord" tempo "220" "a4q eh f#e. gs bq. f#e bq. ae gh ge."
play "Harpsichord" tempo "220" "g4s f#e. fs ee. gs c5h e4q de. gs"
play "Harpsichord" tempo "220" "b4h be. b#s c#5e. b4s f#h eq"
play "Harpsichord" tempo "220" "a4h ae. ds ee. bs d5h de. es de."
play "Harpsichord" tempo "220" "b4s aq eh f#4e. gs be. f#e bq"
play "Harpsichord" tempo "220" "a4q gh ge 0e g4e. as be. a#s be."
play "Harpsichord" tempo "220" "g4s ae. bs ae. f#s gq eh f#e. es"
play "Harpsichord" tempo "220" "d4q ge. bs d5e. a4s c5e. b4s gw"
show bkgnd field "Name It"
end playInd